.image-view{
  height: 100vh;
  width: 100vw;
  .ant-modal-body{
    height: 100vh;
    width: 100%;
  }
  .ant-modal-content{
    box-shadow: none;
    background: transparent;
  }
  .ant-modal-close{
    color: white;
  }
  .attachment-title-area{
    height: 30px;
    width: 100%;
    text-align: center;
    color: $font-ghost;
  }
  .attachment-area{
    width: 100%;
    height: calc(100vh - 214px);
    overflow: hidden;
    text-align: center;
    line-height: calc(100vh - 214px);
    img{
      -webkit-transform-origin: 50% 50%;
      -moz-transform-origin: 50% 50%;
      -ms-transform-origin: 50% 50%;
      -o-transform-origin: 50% 50%;
      transform-origin: 50% 50%;
      max-width: 100%;
      max-height: 100%;
      cursor: move;
      position: relative;
    }
    iframe {
      width: 100%;
      height: 100%;
      border: none;
      background-color: $background-white;
    }
  }
  .attachment-operate{
    height: 60px;
    line-height: 60px;
    position: relative;
    text-align: center;
    color: white;
    .attachment-operate-icon{
      text-align: right;
      position: absolute;
      height: 60px;
      line-height: 60px;
      right: 0;
      top: 0;
      i{
        -webkit-transition: all .5s;
        -moz-transition: all .5s;
        -ms-transition: all .5s;
        -o-transition: all .5s;
        transition: all .5s;
        color: $font-disabled;
        margin-left: 10px;
        border: 1px solid $font-disabled;
        border-radius: 50%;
        font-size: 18px;
        cursor: pointer;
        &:before{
          margin-left: 1px;
        }
      }
      i:hover{
        color: $font-ghost;
        border: 1px solid $font-ghost;
      }
    }
  }
  .attachment-list{
    height: 80px;
    text-align: center;
    box-sizing: border-box;
    overflow-x: auto;
    overflow-y: hidden;
    margin-bottom: -15px;
    padding-bottom: 15px;
    position: relative;
    .attachment-list-icon {
      color: $font-disabled;
      font-size: 24px;
      cursor: pointer;
    }
    .attachment-list-icon:hover {
      color: white;
    }
    .attachment-list-left-icon {
      position: absolute;
      left: 100px;
      top: 28px;
    }
    .attachment-list-right-icon {
      position: absolute;
      right: 100px;
      top: 28px;
    }
    .attachment-list-box {
      padding: 5px 0;
      white-space: nowrap;
      height: 80px;
      overflow-x: auto;
      overflow-y: hidden;
      box-sizing: border-box;
      max-width: 620px;
      margin: 0 auto;
      img{
        -webkit-transition: all .5s;
        -moz-transition: all .5s;
        -ms-transition: all .5s;
        -o-transition: all .5s;
        transition: all .5s;
        cursor: pointer;
        height: 60px;
        width: 60px;
        margin-right: 10px;
        position: relative;
        opacity: 0.5;
      }
      .selected-attachment{
        opacity: 1;
        box-shadow: 0 0 1px 1px $default-color-focus;
      }
    }
  }
}
